<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_id" data-rule="required" data-source="order/index" class="form-control selectpage" name="row[order_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refundto')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refundTo" data-rule="required" class="form-control" name="row[refundTo]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refundreson')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-refundReson" data-rule="required" class="form-control selectpicker" name="row[refundReson]">
                {foreach name="refundresonList" item="vo"}
                    <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refundotherreson')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refundOtherReson" class="form-control" name="row[refundOtherReson]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Backmoney')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-backMoney" data-rule="required" class="form-control" step="0.01" name="row[backMoney]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refundtradeno')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refundTradeNo" class="form-control" name="row[refundTradeNo]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refundremark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refundRemark" class="form-control" name="row[refundRemark]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refundtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refundTime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[refundTime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refundstatus')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="refundstatusList" item="vo"}
            <label for="row[refundStatus]-{$key}"><input id="row[refundStatus]-{$key}" name="row[refundStatus]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shoprejectreason')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shopRejectReason" class="form-control" name="row[shopRejectReason]" type="text">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
